<template>
	<view class="dy-card">
		<view class=" dy-card-row">
			<view class="u-flex-y-center" style="display: flex; flex-direction: column; width: 400rpx;">
				<u--text text="联系客服" size="18"></u--text>
				<u--text text="订单咨询/纠纷处理/支付问题/协商退款" type="info" margin="20rpx 0 0"></u--text>
			</view>
			<u-button type="primary" :plain="true" text="联系客服" @click="tapMakePhoneCall"></u-button>

		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {
			tapMakePhoneCall() {
				tt.makePhoneCall({
					phoneNumber: "18888888888",
					success(res) {
						// 调用成功 makePhoneCall:ok
						console.log("调用成功", res.errMsg);
					},
					fail(res) {
						// 调用失败 makePhoneCall:fail
						console.log("调用失败", res.errMsg);
					},
				});
			},
		}
	}
</script>

<style>
</style>